/****************************************************
          File Name:59-4.h
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Sun 19 Oct 2014 03:16:49 PM CST
*****************************************************/

#if !defined SC_59_4_H_
#define SC_59_4_H_ 1

#include<sys/socket.h>
#include<sys/types.h>
#include<stdlib.h>
#include<string.h> 			/* bezero */
#include<unistd.h>
#include<fcntl.h>
#include<sys/stat.h>
#include<errno.h>
#include<syslog.h>
#include<sys/resource.h>
#include<netinet/in.h>
#include<time.h>
#include<arpa/inet.h>

#define DATA_SIZE 512  /* consult tlpi p977 */
#define SA struct sockaddr

int sock_creat(void);

int ConBind(int fd, int ipaddr, char option);

#endif
